package com.example.rabbitmq.ksdemo.Thread;

public class ReceviceThread implements Runnable{

    private String message;

    public ReceviceThread(String message) {
        this.message = message;
    }

    @Override
    public void run() {
        System.out.println("线程执行:"+message);
        try {
            Thread.sleep(500);
        } catch (InterruptedException e) {
            e.printStackTrace();
        }
    }
}
